3.6.42 \(\int \cos ^5(c+d x) (a+b \tan (c+d x))^3 \, dx\) [542]
Optimal. Leaf size=105 \[ -\frac {2 \left (4 a^2+b^2\right ) \cos (c+d x) (b-a \tan (c+d x))}{15 d}-\frac {\cos ^3(c+d x) (b-4 a \tan (c+d x)) (a+b \tan (c+d x))^2}{15 d}+\frac {\cos ^4(c+d x) \sin (c+d x) (a+b \tan (c+d x))^3}{5 d} \]
[Out]
-2/15*(4*a^2+b^2)*cos(d*x+c)*(b-a*tan(d*x+c))/d-1/15*cos(d*x+c)^3*(b-4*a*tan(d*x+c))*(a+b*tan(d*x+c))^2/d+1/5*
cos(d*x+c)^4*sin(d*x+c)*(a+b*tan(d*x+c))^3/d
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {3593, 751, 819,
651} \begin {gather*} -\frac {2 \left (4 a^2+b^2\right ) \cos (c+d x) (b-a \tan (c+d x))}{15 d}-\frac {\cos ^3(c+d x) (b-4 a \tan (c+d x)) (a+b \tan (c+d x))^2}{15 d}+\frac {\sin (c+d x) \cos ^4(c+d x) (a+b \tan (c+d x))^3}{5 d} \end {gather*}
Antiderivative was successfully verified.
[In]
Int[Cos[c + d*x]^5*(a + b*Tan[c + d*x])^3,x]
[Out]
(-2*(4*a^2 + b^2)*Cos[c + d*x]*(b - a*Tan[c + d*x]))/(15*d) - (Cos[c + d*x]^3*(b - 4*a*Tan[c + d*x])*(a + b*Ta
n[c + d*x])^2)/(15*d) + (Cos[c + d*x]^4*Sin[c + d*x]*(a + b*Tan[c + d*x])^3)/(5*d)
Rule 651
Int[((d_) + (e_.)*(x_))/((a_) + (c_.)*(x_)^2)^(3/2), x_Symbol] :> Simp[((-a)*e + c*d*x)/(a*c*Sqrt[a + c*x^2]),
x] /; FreeQ[{a, c, d, e}, x]
Rule 751
Int[((d_) + (e_.)*(x_))^(m_)*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(-x)*(d + e*x)^m*((a + c*x^2)^(p +
1)/(2*a*(p + 1))), x] + Dist[1/(2*a*(p + 1)), Int[(d + e*x)^(m - 1)*(d*(2*p + 3) + e*(m + 2*p + 3)*x)*(a + c*x
^2)^(p + 1), x], x] /; FreeQ[{a, c, d, e}, x] && NeQ[c*d^2 + a*e^2, 0] && LtQ[p, -1] && GtQ[m, 0] && (LtQ[m, 1
] || (ILtQ[m + 2*p + 3, 0] && NeQ[m, 2])) && IntQuadraticQ[a, 0, c, d, e, m, p, x]
Rule 819
Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(d + e*x)^m*(
a + c*x^2)^(p + 1)*((a*g - c*f*x)/(2*a*c*(p + 1))), x] - Dist[m*((c*d*f + a*e*g)/(2*a*c*(p + 1))), Int[(d + e*
x)^(m - 1)*(a + c*x^2)^(p + 1), x], x] /; FreeQ[{a, c, d, e, f, g}, x] && NeQ[c*d^2 + a*e^2, 0] && EqQ[Simplif
y[m + 2*p + 3], 0] && LtQ[p, -1]
Rule 3593
Int[((d_.)*sec[(e_.) + (f_.)*(x_)])^(m_.)*((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Dist[d^(2*
IntPart[m/2])*((d*Sec[e + f*x])^(2*FracPart[m/2])/(b*f*(Sec[e + f*x]^2)^FracPart[m/2])), Subst[Int[(a + x)^n*(
1 + x^2/b^2)^(m/2 - 1), x], x, b*Tan[e + f*x]], x] /; FreeQ[{a, b, d, e, f, m, n}, x] && NeQ[a^2 + b^2, 0] &&
!IntegerQ[m/2]
Rubi steps
\begin {align*} \int \cos ^5(c+d x) (a+b \tan (c+d x))^3 \, dx &=\frac {\left (\cos (c+d x) \sqrt {\sec ^2(c+d x)}\right ) \text {Subst}\left (\int \frac {(a+x)^3}{\left (1+\frac {x^2}{b^2}\right )^{7/2}} \, dx,x,b \tan (c+d x)\right )}{b d}\\ &=\frac {\cos ^4(c+d x) \sin (c+d x) (a+b \tan (c+d x))^3}{5 d}-\frac {\left (\cos (c+d x) \sqrt {\sec ^2(c+d x)}\right ) \text {Subst}\left (\int \frac {(-4 a-x) (a+x)^2}{\left (1+\frac {x^2}{b^2}\right )^{5/2}} \, dx,x,b \tan (c+d x)\right )}{5 b d}\\ &=-\frac {\cos ^3(c+d x) (b-4 a \tan (c+d x)) (a+b \tan (c+d x))^2}{15 d}+\frac {\cos ^4(c+d x) \sin (c+d x) (a+b \tan (c+d x))^3}{5 d}+\frac {\left (2 \left (4 a^2+b^2\right ) \cos (c+d x) \sqrt {\sec ^2(c+d x)}\right ) \text {Subst}\left (\int \frac {a+x}{\left (1+\frac {x^2}{b^2}\right )^{3/2}} \, dx,x,b \tan (c+d x)\right )}{15 b d}\\ &=-\frac {2 \left (4 a^2+b^2\right ) \cos (c+d x) (b-a \tan (c+d x))}{15 d}-\frac {\cos ^3(c+d x) (b-4 a \tan (c+d x)) (a+b \tan (c+d x))^2}{15 d}+\frac {\cos ^4(c+d x) \sin (c+d x) (a+b \tan (c+d x))^3}{5 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.76, size = 150, normalized size = 1.43 \begin {gather*} \frac {-30 b \left (3 a^2+b^2\right ) \cos (c+d x)-5 \left (9 a^2 b+b^3\right ) \cos (3 (c+d x))-9 a^2 b \cos (5 (c+d x))+3 b^3 \cos (5 (c+d x))+150 a^3 \sin (c+d x)+90 a b^2 \sin (c+d x)+25 a^3 \sin (3 (c+d x))-15 a b^2 \sin (3 (c+d x))+3 a^3 \sin (5 (c+d x))-9 a b^2 \sin (5 (c+d x))}{240 d} \end {gather*}
Antiderivative was successfully verified.
[In]
Integrate[Cos[c + d*x]^5*(a + b*Tan[c + d*x])^3,x]
[Out]
(-30*b*(3*a^2 + b^2)*Cos[c + d*x] - 5*(9*a^2*b + b^3)*Cos[3*(c + d*x)] - 9*a^2*b*Cos[5*(c + d*x)] + 3*b^3*Cos[
5*(c + d*x)] + 150*a^3*Sin[c + d*x] + 90*a*b^2*Sin[c + d*x] + 25*a^3*Sin[3*(c + d*x)] - 15*a*b^2*Sin[3*(c + d*
x)] + 3*a^3*Sin[5*(c + d*x)] - 9*a*b^2*Sin[5*(c + d*x)])/(240*d)
________________________________________________________________________________________
Maple [A]
time = 0.28, size = 125, normalized size = 1.19
| | |
method |
result |
size |
| | |
derivativedivides |
\(\frac {b^{3} \left (-\frac {\left (\cos ^{3}\left (d x +c \right )\right ) \left (\sin ^{2}\left (d x +c \right )\right )}{5}-\frac {2 \left (\cos ^{3}\left (d x +c \right )\right )}{15}\right )+3 b^{2} a \left (-\frac {\sin \left (d x +c \right ) \left (\cos ^{4}\left (d x +c \right )\right )}{5}+\frac {\left (\cos ^{2}\left (d x +c \right )+2\right ) \sin \left (d x +c \right )}{15}\right )-\frac {3 a^{2} b \left (\cos ^{5}\left (d x +c \right )\right )}{5}+\frac {a^{3} \left (\frac {8}{3}+\cos ^{4}\left (d x +c \right )+\frac {4 \left (\cos ^{2}\left (d x +c \right )\right )}{3}\right ) \sin \left (d x +c \right )}{5}}{d}\) |
\(125\) |
default |
\(\frac {b^{3} \left (-\frac {\left (\cos ^{3}\left (d x +c \right )\right ) \left (\sin ^{2}\left (d x +c \right )\right )}{5}-\frac {2 \left (\cos ^{3}\left (d x +c \right )\right )}{15}\right )+3 b^{2} a \left (-\frac {\sin \left (d x +c \right ) \left (\cos ^{4}\left (d x +c \right )\right )}{5}+\frac {\left (\cos ^{2}\left (d x +c \right )+2\right ) \sin \left (d x +c \right )}{15}\right )-\frac {3 a^{2} b \left (\cos ^{5}\left (d x +c \right )\right )}{5}+\frac {a^{3} \left (\frac {8}{3}+\cos ^{4}\left (d x +c \right )+\frac {4 \left (\cos ^{2}\left (d x +c \right )\right )}{3}\right ) \sin \left (d x +c \right )}{5}}{d}\) |
\(125\) |
risch |
\(-\frac {3 b \cos \left (d x +c \right ) a^{2}}{8 d}-\frac {b^{3} \cos \left (d x +c \right )}{8 d}+\frac {5 a^{3} \sin \left (d x +c \right )}{8 d}+\frac {3 a \,b^{2} \sin \left (d x +c \right )}{8 d}-\frac {3 b \cos \left (5 d x +5 c \right ) a^{2}}{80 d}+\frac {b^{3} \cos \left (5 d x +5 c \right )}{80 d}+\frac {a^{3} \sin \left (5 d x +5 c \right )}{80 d}-\frac {3 a \sin \left (5 d x +5 c \right ) b^{2}}{80 d}-\frac {3 b \cos \left (3 d x +3 c \right ) a^{2}}{16 d}-\frac {b^{3} \cos \left (3 d x +3 c \right )}{48 d}+\frac {5 a^{3} \sin \left (3 d x +3 c \right )}{48 d}-\frac {a \sin \left (3 d x +3 c \right ) b^{2}}{16 d}\) |
\(200\) |
| | |
|
|
|
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(cos(d*x+c)^5*(a+b*tan(d*x+c))^3,x,method=_RETURNVERBOSE)
[Out]
1/d*(b^3*(-1/5*cos(d*x+c)^3*sin(d*x+c)^2-2/15*cos(d*x+c)^3)+3*b^2*a*(-1/5*sin(d*x+c)*cos(d*x+c)^4+1/15*(cos(d*
x+c)^2+2)*sin(d*x+c))-3/5*a^2*b*cos(d*x+c)^5+1/5*a^3*(8/3+cos(d*x+c)^4+4/3*cos(d*x+c)^2)*sin(d*x+c))
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 107, normalized size = 1.02 \begin {gather*} -\frac {9 \, a^{2} b \cos \left (d x + c\right )^{5} - {\left (3 \, \sin \left (d x + c\right )^{5} - 10 \, \sin \left (d x + c\right )^{3} + 15 \, \sin \left (d x + c\right )\right )} a^{3} + 3 \, {\left (3 \, \sin \left (d x + c\right )^{5} - 5 \, \sin \left (d x + c\right )^{3}\right )} a b^{2} - {\left (3 \, \cos \left (d x + c\right )^{5} - 5 \, \cos \left (d x + c\right )^{3}\right )} b^{3}}{15 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^5*(a+b*tan(d*x+c))^3,x, algorithm="maxima")
[Out]
-1/15*(9*a^2*b*cos(d*x + c)^5 - (3*sin(d*x + c)^5 - 10*sin(d*x + c)^3 + 15*sin(d*x + c))*a^3 + 3*(3*sin(d*x +
c)^5 - 5*sin(d*x + c)^3)*a*b^2 - (3*cos(d*x + c)^5 - 5*cos(d*x + c)^3)*b^3)/d
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 102, normalized size = 0.97 \begin {gather*} -\frac {5 \, b^{3} \cos \left (d x + c\right )^{3} + 3 \, {\left (3 \, a^{2} b - b^{3}\right )} \cos \left (d x + c\right )^{5} - {\left (3 \, {\left (a^{3} - 3 \, a b^{2}\right )} \cos \left (d x + c\right )^{4} + 8 \, a^{3} + 6 \, a b^{2} + {\left (4 \, a^{3} + 3 \, a b^{2}\right )} \cos \left (d x + c\right )^{2}\right )} \sin \left (d x + c\right )}{15 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^5*(a+b*tan(d*x+c))^3,x, algorithm="fricas")
[Out]
-1/15*(5*b^3*cos(d*x + c)^3 + 3*(3*a^2*b - b^3)*cos(d*x + c)^5 - (3*(a^3 - 3*a*b^2)*cos(d*x + c)^4 + 8*a^3 + 6
*a*b^2 + (4*a^3 + 3*a*b^2)*cos(d*x + c)^2)*sin(d*x + c))/d
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b \tan {\left (c + d x \right )}\right )^{3} \cos ^{5}{\left (c + d x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)**5*(a+b*tan(d*x+c))**3,x)
[Out]
Integral((a + b*tan(c + d*x))**3*cos(c + d*x)**5, x)
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 56572 vs.
\(2 (102) = 204\).
time = 255.26, size = 56572, normalized size = 538.78 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^5*(a+b*tan(d*x+c))^3,x, algorithm="giac")
[Out]
1/15360*(1080*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/
2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + ta
n(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^10 - 105*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 +
2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^
2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*
c)^10 + 1080*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2
*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan
(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^10 - 105*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2
*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2
- 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c
)^10 - 1800*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*
c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^10 + 1995*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan
(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^10 + 1
800*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2
*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^10 - 1995*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x
)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^10 - 5760*pi*a
^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*
d*x)^10*tan(1/2*c)^10 + 210*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c
) - tan(1/2*c)^2 + 1)*tan(1/2*d*x)^10*tan(1/2*c)^10 + 5400*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/
2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*ta
n(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^8 - 5
25*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*ta
n(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 +
2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^8 + 5400*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d
*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1
/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^8 - 525*
pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1
/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*t
an(1/2*d*x) - 1)*tan(1/2*d*x)^10*tan(1/2*c)^8 + 5400*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)
^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*
d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^8*tan(1/2*c)^10 - 525*pi*
b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*
c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(
1/2*d*x) - 1)*tan(1/2*d*x)^8*tan(1/2*c)^10 + 5400*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*
tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x
)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^8*tan(1/2*c)^10 - 525*pi*b^3
*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c)
- 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2
*d*x) - 1)*tan(1/2*d*x)^8*tan(1/2*c)^10 + 5760*pi*a^2*b*tan(1/2*d*x)^10*tan(1/2*c)^10 - 210*pi*b^3*tan(1/2*d*x
)^10*tan(1/2*c)^10 - 2160*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)
*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^10*tan(1/2*c)^10 + 210*b^3*arctan((tan(1/2*d*x)*tan
(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*
x)^10*tan(1/2*c)^10 - 2160*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x
)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^10*tan(1/2*c)^10 + 210*b^3*arctan((tan(1/2*d*x)*ta
n(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d
*x)^10*tan(1/2*c)^10 + 9360*a^2*b*arctan((tan(1...
________________________________________________________________________________________
Mupad [B]
time = 3.81, size = 147, normalized size = 1.40 \begin {gather*} \frac {2\,\left (\frac {3\,\sin \left (c+d\,x\right )\,a^3\,{\cos \left (c+d\,x\right )}^4}{2}+2\,\sin \left (c+d\,x\right )\,a^3\,{\cos \left (c+d\,x\right )}^2+4\,\sin \left (c+d\,x\right )\,a^3-\frac {9\,a^2\,b\,{\cos \left (c+d\,x\right )}^5}{2}-\frac {9\,\sin \left (c+d\,x\right )\,a\,b^2\,{\cos \left (c+d\,x\right )}^4}{2}+\frac {3\,\sin \left (c+d\,x\right )\,a\,b^2\,{\cos \left (c+d\,x\right )}^2}{2}+3\,\sin \left (c+d\,x\right )\,a\,b^2+\frac {3\,b^3\,{\cos \left (c+d\,x\right )}^5}{2}-\frac {5\,b^3\,{\cos \left (c+d\,x\right )}^3}{2}\right )}{15\,d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(cos(c + d*x)^5*(a + b*tan(c + d*x))^3,x)
[Out]
(2*(4*a^3*sin(c + d*x) - (5*b^3*cos(c + d*x)^3)/2 + (3*b^3*cos(c + d*x)^5)/2 - (9*a^2*b*cos(c + d*x)^5)/2 + 2*
a^3*cos(c + d*x)^2*sin(c + d*x) + (3*a^3*cos(c + d*x)^4*sin(c + d*x))/2 + 3*a*b^2*sin(c + d*x) + (3*a*b^2*cos(
c + d*x)^2*sin(c + d*x))/2 - (9*a*b^2*cos(c + d*x)^4*sin(c + d*x))/2))/(15*d)
________________________________________________________________________________________